package com.mjh.zhujianju.dao.agency;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.agency.DeptUserEO;
import com.mjh.zhujianju.vo.agency.DeptUserVO;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DeptUserMapper extends BaseMapper<DeptUserEO> {

	
	List<DeptUserVO> selectDeptByUserIds(List<Long> userIds);

	int insertDeptUsers(List<DeptUserEO> deptUserEOS);


	/**
	 * 根据部门id集合查询人员信息
	 * @param list
	 * @return
	 */
	List<DeptUserEO> selectDeptByDeptIds(List<Long> list);


	List<DeptUserVO> selectDeptListByDeptId(@Param("deptId")Long deptId);

}